
from common.utils import *


def asdf():
    li = listdirsub('./', '.qss .jpg .png .')
    aa = [f'<file>{f}</file>' for f in li]
    aa = '\n'.join(aa)
    aaa = f'''
    <RCC>
    <qresource prefix="/" >
    {aa}
    </qresource>
    </RCC>
    '''
    open('res.qrc', 'w').write(aaa)
    return 0

asdf()
